gskrendernode: Fix inset shadow drawing
authorTimm Bäder <mail@baedert.org>
Mon, 28 Aug 2017 15:48:25 +0000 (17:48 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 28 Aug 2017 15:50:34 +0000 (17:50 +0200)
gsk/gskrendernodeimpl.c

index 4ecd0af53194d07750e3ab2dd0219b2cded55bc3..cbdcb8f91b21275eb3f641e8b9f4b17f2a65b5fd 100644 (file)
@@ -855,7 +855,7 @@ draw_shadow (cairo_t             *cr,
   cairo_set_fill_rule (shadow_cr, CAIRO_FILL_RULE_EVEN_ODD);
   gsk_rounded_rect_path (box, shadow_cr);
   if (inset)
-    cairo_rectangle (cr,
+    cairo_rectangle (shadow_cr,
                      clip_box->bounds.origin.x, clip_box->bounds.origin.y,
                      clip_box->bounds.size.width, clip_box->bounds.size.height);